package com.itheima.d3_abstract;

public class Dog extends Animal {
    public Dog (String name){
        super(name);
    }
    @Override
    public void cry() {
        System.out.println(getName()+ "汪汪汪");
    }
}
